﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #5c87b2;    
    font-size: .85em;
    font-family: Calibri, Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    border-bottom: 1px #5C87B2 solid; padding: 0 0 2px; position: relative; margin: 0; text-align: right;
}

ul#menu li {
    display: inline; list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px; font-weight: bold; text-decoration: none; line-height: 2.8em; color: #fff;
}

ul#menu li a {
     padding: 8px 15px; font-weight: bold; text-decoration: none; line-height: 2.5em; background-color: #e8eef4; color: #034af3;
    border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff; text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6; text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff; color: #000;
}

#cssmenu{ height:37px; display:block; padding:0 0 2px; margin:50px 0 0 0;  border:1px solid; border-radius:5px; position: relative;} 
#cssmenu > ul {list-style:inside none; padding:0; margin:0;} 
#cssmenu > ul > li {list-style:inside none; padding:0; margin:0; float:left; display:block; position:relative;} 
#cssmenu > ul > li > a{ outline:none; display:block; position:relative; padding:12px 20px; font:bold 13px/100% Arial, Helvetica, sans-serif; text-align:center; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.4); } 
#cssmenu > ul > li:first-child > a{border-radius:5px 0 0 5px;} 
#cssmenu > ul > li > a:after{ content:''; position:absolute; border-right:1px solid; top:-1px; bottom:-1px; right:-2px; z-index:99; } 
#cssmenu ul li.has-sub:hover > a:after{top:0; bottom:0;} 
#cssmenu > ul > li.has-sub > a:before{ content:''; position:absolute; top:18px; right:6px; border:5px solid transparent; border-top:5px solid #fff; } 
#cssmenu > ul > li.has-sub:hover > a:before{top:19px;} 
#cssmenu ul li.has-sub:hover > a{ background:#3f3f3f; border-color:#3f3f3f; padding-bottom:13px; padding-top:13px; top:-1px; z-index:999; } 
#cssmenu ul li.has-sub:hover > ul, #cssmenu ul li.has-sub:hover > div{display:block;} 
#cssmenu ul li.has-sub > a:hover{background:#3f3f3f; border-color:#3f3f3f;} 
#cssmenu ul li > ul, #cssmenu ul li > div{ display:none; width:auto; position:absolute; top:38px; padding:10px 0; background:#3f3f3f; border-radius:0 0 5px 5px; z-index:999; } 
#cssmenu ul li > ul{width:200px;} 
#cssmenu ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;} 
#cssmenu ul li > ul li a{ outline:none; display:block; position:relative; margin:0; padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; text-shadow:1px 1px 0 rgba(0,0,0, 0.5); } 
#cssmenu, #cssmenu > ul > li > ul > li a:hover{ background:#4fbdf0; background:-moz-linear-gradient(top, #4fbdf0 0%, #45b2d2 100%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#4fbdf0), color-stop(100%,#45b2d2)); background:-webkit-linear-gradient(top, #4fbdf0 0%,#45b2d2 100%); background:-o-linear-gradient(top,  #4fbdf0 0%,#45b2d2 100%); background:-ms-linear-gradient(top, #4fbdf0 0%,#45b2d2 100%); background:linear-gradient(top,  #4fbdf0 0%,#45b2d2 100%); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4fbdf0', endColorstr='#45b2d2',GradientType=0); } 
#cssmenu{border-color:#3589a1;} 
#cssmenu > ul > li > a{border-right:1px solid #3589a1; color:#fff;} 
#cssmenu > ul > li > a:after{border-color:#6ed1ff;} 
#cssmenu > ul > li > a:hover{background:#36acd2;} 


/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

.table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

.table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

.table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: none;
}

ul li { list-style: none; margin-left: 0px}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}


/* Editor style */
.PageTitle { font-size: 1.5em; font-weight:bold; margin-bottom:10px}

.editor-form	{	}
.editor-form th	{ line-height: 28px; padding: 0 10px 10px 0; text-align: right; }
.editor-form td	{ padding: 0 0 10px 0; }
.editor-form td.noheight	{padding: 0 0 0px 0; }
.editor-form td.right { text-align: right; padding-right: 10px}	

.editor-label { margin: 5px 0 3px 0; font-size: 0.9em; color: #666666; font-weight:bold; }
.editor-label span { color: Red; }
.editor-field { vertical-align: middle; }
.editor-field input, .editor-field textarea { font-family: Calibri; font-size: 1.1em; }
.editor-field .right{ text-align:right; }
.editor-field-col { width: 360px; height: 20px; padding: 0 5px; font-family: Calibri; }
.editor-number-col { width: 360px; height: 20px; padding: 0 5px; font-family: Calibri; text-align:right}
.errMsg { color: Red; }

.btnBlue { text-align: center; margin: 5px 0 0px 0; }
.btnBlue a { width: 75px; height: 26px; padding-top: 6px; display: block; background-image: url("images/btnBlue.png"); background-repeat: no-repeat; background-position: 0 0; text-decoration: none; color: White; }
             
.blueButton { background: #0066ff none ! important; border-color: #0066ff ! important; margin: 5px 0 0px 0;}
.blueButtonHover { background: #2277f6 none ! important; border-color: #2277f6 ! important; }

.line { border-top: solid 1px #0066ff }
.paid { color: Blue;}
.remain { color: Red;}
/* End Editor style */

/* ----------------- list result ----------------- */
.list-table { }
.list-table th { line-height: 32px; padding: 0 5px; text-align: center; font-size: 1em; background-color: #ffe45c; border: 1px solid #fed22f; border-left: none; }
.list-table th.first { line-height: 32px; padding: 0 5px; text-align: center; font-size: 1em; background-color: #ffe45c; border: 1px solid #fed22f; }

.list-table td { padding: 5px; border: 1px solid #cccccc; border-left: none; border-top: none; }
.list-table td.first { border-left: 1px solid #fed22f; }
.list-table td.last { border-right: 1px solid #fed22f; }
.list-table td.left { text-align: left; }
.list-table td.center { text-align: center; }
.list-table td.right { text-align: right; }
.list-table tr { height: 35px; }
.list-table tr.alternate-row { background-color: #fffaf5; }
/* ----------------- end ad user ----------------- */


/* ----------------- Group item ----------------- */
.grp { margin: 5px 0 0 0 ;}
.grp Title { font-style: italic; font-size: 1.2em; }
/* ----------------- Group item ----------------- */